package com.lesso.cyg.sunflower.app.service.impl;

import com.lesso.cyg.sunflower.domain.service.DatAttendanceRecordDomainService;
import com.lesso.cyg.sunflower.pojo.dto.DatAttendanceRecordDTO;
import com.lesso.cyg.sunflower.service.DatAttendanceRecordService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 员工打卡记录Service实现类
 */
@Service
@DubboService
public class DatAttendanceRecordServiceImpl implements DatAttendanceRecordService {

    @Resource
    private DatAttendanceRecordDomainService datAttendanceRecordDomainService;

    @Override
    public boolean saveRecord(DatAttendanceRecordDTO dto) {
        return datAttendanceRecordDomainService.saveRecord(dto);
    }
}